home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 October: Mac OS SDK / Dev.CD Oct 00 SDK1.toast / Development Kits / Mac OS / Apple Guide / Authoring / Documentation / Example Source Files Appdx C / Setup and Access Window.src < prev    next >
Encoding:
Text File  |  1994-12-09  |  7.0 KB  |  149 lines  |  [TEXT/ttxt]

  1. #source file for a generic application's Help, such as SurfWriter
  2.  
  3. #This file specifies event, nav button, and format definitions
  4. # plus prompts, help menu info, and defines the type of access window
  5.  
  6. # *****************INITIAL SETUP INFORMATION*****************
  7. <Resource> "Standard Resources", ALL
  8.  
  9. # ******************events**************
  10. #These events and definitions are also defined in the Standard Setup file
  11.  
  12. <Define Event> "DoHuh", 's***', 'help', 'dhuh'
  13. <Define Event> "GoStart", 's***', 'help', 'stac'
  14. <Define Event> "GoBack", 's***', 'help', 'gobk'
  15.  
  16. # ******************navigation buttons*****
  17. <Define Nav Button> "Huh?", 1101, 1111, 1121, DIMMABLE
  18. <Define Nav Button> "GoStart", 1103, 1113, 1123, GoStart()
  19.  
  20. <Define Nav Button Set> "Std nav bar", "GoStart", "Huh?"
  21.  
  22. # ******************formats*************
  23. <Define Format> "Tag", Column(6,0,54),"Espy Sans Bold", 10, plain,,Right,false
  24. <Define Format> "Body", Column(6,65,330),"Espy Serif", 10, plain,,Left,true
  25. <Define Format> "Full", Column(6,11,330), "Espy Serif", 10, plain,,Left, false
  26. #use "Full2" if source files yse styles and are styled text
  27. <Define Format> "Full2", Column(6,11,330), "Espy Serif", 10, ,,Left, false
  28. <Default Format> "Full"
  29.  
  30. #define other formats that specify style information (if your
  31. # source files are plain text rather than styled text)
  32. # (these formats are used only with "CreateCustomIntro" panel
  33. <Define Format> "PlainText", Column(6,7,330),"Espy Serif", 10, plain,,,false
  34. <Define Format> "UnderlineText", Column(20,41,115),"Espy Serif", 10, underline,,,false
  35. <Define Format> "PlainTextReset", Column(20,116,330),"Espy Serif", 10, plain,,,false
  36. <Define Format> "PlainTextNormal", Column(34,7,330),"Espy Serif", 10, plain,,,false
  37.  
  38. # ******************prompt strings**************
  39. #Define your prompt sets.
  40. #Provide four strings to <Define Prompt Set>; the strings specify prompts for:
  41. # 1. the first panel in a sequence
  42. # 2. any middle panel in a sequence that does not have radio buttons, checkboxes, or standard buttons
  43. # 3. the last panel in a sequence
  44. # 4. any panel with controls (radio buttons, checkboxes, or standard buttons)
  45. #
  46. <Define Prompt Set> "standard" , "To begin, click the right arrow.", "Do this step, then click the right arrow.", "Do this step, then you're done.", "Make your choice, then click the right arrow."
  47.  
  48. <Define Prompt Set> "standard2" , "To begin, click the right arrow.", "Click the left arrow to go back or the right arrow to continue.", "That's all, you're done!", "Make your choice, then click the right arrow."
  49.  
  50. <Default Prompt Set> "standard2" 
  51.  
  52. <Define Prompt Set> "introprompts" ,  "To begin, click the right arrow. "," ", " ", " "
  53. <Define Prompt Set> "introToolsprompts" ,  "To begin, click the right arrow. "," ", " ", "To begin, click the right arrow."
  54.  
  55. <Define Prompt Set> "doThisprompt" , "Do this step, then click the right arrow.", "Do this step, then click the right arrow.", " ", "Do this step, then click the right arrow."
  56.  
  57. <Define Prompt Set> "YouAreDone" , " ", " ", "That's all, you're done. ", " "
  58. <Define Prompt Set> "YouAreDone2" , " ", " ", "That's all, you're done. ", "That's all, you're done."
  59.  
  60. <Define Prompt Set> "continuePrompt" , "After the dictionary opens, click Continue.", "After the dictionary opens, click Continue.", "After the dictionary opens, click Continue.", " "
  61.  
  62. <Define Prompt Set> "continue2Prompt" , "After the folder opens, click Continue.", "After the folder opens, click Continue.", "After the folder opens, click Continue.", " "
  63.  
  64. <Define Prompt Set> "Defn&HuhPrompts" , "Read this information, then you're done.", "Read this information, then you're done.", "Read this information, then you're done.", " "
  65.  
  66.  
  67. # *****************HELP MENU INFORMATION********************
  68. #define how the name of this guide file should appear in SurfWriter's Help menu
  69. #the menu item name is "SurfWriter  Guide"
  70. #the guide file for this menu item is of type HELP
  71. #if you use the cmd like this, it does NOT give you Cmd-Key symbol
  72. # or ? in the Help menu 
  73. #<Help Menu> "SurfWriter  Guide", HELP
  74. #therefore, specify the command like this
  75. <Help Menu> "SurfWriter Guide", HELP, "?"
  76.  
  77. #use this command to specify the text that appears for this guide file in your
  78. # application's Help menu; that is, when the cursor is in the SurfWriter Guide menu item 
  79. # and Balloon Help is on, the Finder displays this text in a help balloon
  80. <Balloon Menu Text> "Provides information and instructions to assist you in accomplishing specific tasks with SurfWriter"
  81.  
  82. #To specify that your guide file appear only in the Help menu of your application,
  83. #use this command and specify your application's creator, for example :
  84. # <App Creator> 'WAVE'
  85.  
  86. # ***********ACCESS WINDOW STARTUP INFORMATION****************
  87.  
  88. # ******************application logo*******
  89. #Define either SurfWriter app logo or app text.
  90. #Apple Guide displays the app logo or app text
  91. # in the upper-left corner of SurfWriter Guide's Full Access window.
  92. #<App Text> "SurfWriter Guide"
  93. #if you choose to use app logo instead,
  94. # define the filename that contains a PICT of your app's logo
  95. # for example, <App Logo> "MyAppLogoPict", "MyAppLogoB&WPict"
  96. #(Note that the file "Standard Resources" contains templates with
  97. # PICT resource IDs 501 and 502 that you can modify appropriately and
  98. # then use as the application logo picture associated with your guide).
  99. #If you modify the PICT resources with IDs 501 and 502 then import the
  100. # "Standard Resources" file, you can omit the <App Logo> command.
  101. #If you store your app logo in a separate file, then remove the PICT resources
  102. # with resource IDs 501 and 502 from the "Standard Resources" file.
  103.  
  104. <App Logo> "SurfWriter App Color Logo", "SurfWriter App B&W Logo"
  105.  
  106. # ******************startup window**********
  107. #define startup window, this is the window that Apple Guide 
  108. # first displays when the user chooses the menu item SurfWriter Guide
  109. # If you specify a full access window, you can display HOWDY info OR (note the OR)
  110. # OR you can specify which of the three buttons is initially active
  111. # this example specifies HOWDY
  112. <Startup Window> FULL, HOWDY
  113.  
  114. #You can choose FULL, SINGLE, or PRESENTATION as the startup window
  115. #Full access windows allows topics, index, and look for, and Howdy
  116. #Single access windows allows only topics and howdy
  117. #Presentation allows a single sequence only
  118.  
  119. # ******************howdy text**************
  120. #define the text for the Howdy screen 
  121. <Define Text Block> "Howdy Text"
  122. Welcome to personal help for SurfWriter.
  123.  
  124. To start, click Topics,  Index, or Look For.
  125.  
  126. Topics shows general categories and  Index lists key words. 
  127. Look For lets you search for help according to key words you type.
  128.  
  129. To learn basic skills, choose the 
  130. Tutorial item from the ? menu.
  131. <End Text Block>
  132.  
  133. #now specify the defined howdy text
  134. <Howdy> "Howdy Text"
  135.  
  136. # *****************Finder file information*********
  137. #Specify the version strings that appear in the Finder Get Info window
  138. # for your guide file
  139. <Version> "SurfWriter Guide 1.0 ©Apple Computer, Inc.", "1.0"
  140.  
  141. # *****************
  142. #Topic areas are in the file "Topic Areas and Topics.src"
  143. # *****************
  144.  
  145.  
  146.  
  147.  
  148.  
  149.